package website.lhc.adminsystem.dto;

import lombok.Getter;
import lombok.Setter;
import website.lhc.admincommo.base.BaseModel;

import javax.validation.constraints.NotBlank;

/**
 * @description:
 * @author: 582895699@qq.com
 * @time: 2021/2/8 下午 11:16
 */

@Getter
@Setter
public class LoginDto extends BaseModel {
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "用户名不可为空")
    private String userName;

    @NotBlank(message = "密码不可为空")
    private String password;
}
